<!DOCTYPE html>
<html lang="en" xmlns:v-bind="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="./lib/vue-2.5.9.js"></script>
</head>

<body>
<div id="app">
    <input type="button" value="按钮" v-bind:title="btnTitle">
    <!--可以省略v-bind-->
    <input type="button" value="按钮" :title="btnTitle">
</div>
<script>
    const vm = new Vue({
        el: "#app",
        data: {
            btnTitle: '这是按钮的自定义title值'
        }
    })
</script>
</body>
</html>